home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / music / omdpt123.lha / OMED_PT123.lzx / rexx / f9.omed < prev    next >
Text File  |  1979-07-01  |  706b  |  38 lines

  1. /* F9 - Case 28-10-95 */
  2.  
  3. address OCTAMED_REXX
  4. options results
  5.  
  6. call open("f_keys","T:f_keys.omedtemp",R)
  7. f6 = readln("f_keys")
  8. f7 = readln("f_keys")
  9. f8 = readln("f_keys")
  10. f9 = readln("f_keys")
  11. call close("f_keys")
  12.  
  13. 'rn_isranged var rn_state'
  14.  
  15. if rn_state = 0
  16.     then do
  17.         'ed_goto line' f9
  18.         exit
  19.     end
  20. else
  21.     call open("rn_begin","T:rn_begin.omedtemp",R)
  22.     rn_begin = readln("rn_begin")
  23.     call close("rn_begin")
  24.  
  25.     'ed_goto line' f9
  26.     'ed_getcurrtrack var currtrack'
  27.  
  28.     if f9 >= rn_begin
  29.         then do
  30.             rnstartline = rn_begin
  31.             rnendline = f9
  32.         end
  33.         else do
  34.             rnstartline = f9
  35.             rnendline = rn_begin
  36.         end
  37.     'rn_setrange starttrack' currtrack 'startline' rnstartline 'endtrack' currtrack 'endline' rnendline
  38. exit